/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.perficient.ibuzz.util;

import static org.junit.Assert.assertEquals;

import com.perficient.ibuzz.model.Message;

/**
 *
 * @author Trainning
 */
public class Assert {

    public static void assertMessage(Message expected, Message actual) {
        assertEquals(expected.getAuthor(), actual.getAuthor());
        assertEquals(expected.getText(), actual.getText());
        assertEquals(expected.getPostDate(), actual.getPostDate());
    }

}
